package com.xoa.service.hr;

import com.xoa.model.hr.HrStaffLaborSkills;
import com.xoa.model.hr.HrStaffLaborSkillsWithBLOBs;
import com.xoa.util.ToJson;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
/**
 *    创建作者:      李阳
 *    创建日期：     2018-07-18 11:22
 *    介绍：     劳动信息
 *
 */

public interface HrStaffLaborSkillsService {


    public ToJson<HrStaffLaborSkills> getAllHrStaffLaborSkills(Integer page,Integer pageSize,boolean useFlag,String staffName);

    public ToJson<HrStaffLaborSkills> getStaffBySkillsId(HttpServletRequest request,Integer skillsId);

    public ToJson<HrStaffLaborSkills> getStaffInfo(HttpServletRequest request, HttpServletResponse response,HrStaffLaborSkills hrStaffLaborSkills,Integer page, Integer pageSize, boolean useFlag, String export);

    public ToJson<HrStaffLaborSkills> updateHrStaffLaborSkills(HrStaffLaborSkills hrStaffLaborSkills);

    public ToJson<HrStaffLaborSkills> delHrStaffLaborSkills(Integer[] skillsId);

    public ToJson<HrStaffLaborSkills> insertHrStaffLaborSkills(HttpServletRequest request,HrStaffLaborSkills hrStaffLaborSkills);

    public ToJson<HrStaffLaborSkills> importSkill(HttpServletRequest request, HttpServletResponse response, MultipartFile file);

    public ToJson<HrStaffLaborSkillsWithBLOBs> getSkill(String staffName, Integer page, Integer pageSize, boolean useFlag);
    /**
     * 创建者：戚中校
     * 方法作用：人事分析模块查数量
     * @param
     * @return
     */
    ToJson<HrStaffLaborSkills> selectNumByCon (HrStaffLaborSkills record,Integer[] deptId);

}
